package com.jianyushe.common.util;

import java.util.Date;

/**
 * @author Create by Alvin
 * @Description 控制台打印工具类
 * @date 2022-04-16 18:51
 */
public class JianYusheBaseConsoleUtil {


    public static void printErrorMessageWithDate(String message) {
        System.err.println("[JianYushe Log]:["+DateUtil.format(new Date(), "yyyy-MM-dd HH:mm:ss SSS")+"]"+message);
    }

    public static void printMessage(Object message) {
        System.out.println("[JianYushe Log]:" + message);
    }
}
